ClassName:BaseCallApiAll call apis
All
| method | description |
|---|---|
public static boolean addStatusListener(String pkgForDebug, ICallStatusListener callback, int events, boolean notifyNow); |
Register call status listener and specify which event to observe.
Params:Return:boolean true\uff1aregister success false\uff1aregister failSupported Products:All |
public static boolean removeStatusListener(ICallStatusListener callback); |
remove call listener
Params:Return:boolean true: remove ok;false: remove failSupported Products:All |
public static boolean isCallStatusBusy(); |
check if the call exist
Return:boolean :true or falseSupported Products:All |
public static DialResults makeCalls(List<DialingInfo> dialingInfos); |
Make calls according to a list of DialingInfo.
Params:Return:DialResults The result of making calls.Supported Products:All |
public static boolean acceptCall(int lineId, boolean isVideo, boolean isInConf); |
Accept a specified call
Params:Return:boolean true or falseSupported Products:All |
public static boolean rejectCall(int lineId); |
Reject a specified call
Params:Return:boolean true or falseSupported Products:All |
public static boolean endCall(int lineId); |
End a specified call
Params:Return:boolean true or falseSupported Products:All |
public static boolean endAllCall(); |
End all calls
Return:boolean true or falseSupported Products:All |
public static boolean redialLine(int lineId); |
Dial the special line again.
Params:Return:boolean true or falseSupported Products:All |
public static boolean redialLastCallLog(); |
Dial last call according to the call log
Return:boolean true or falseSupported Products:All |
public static boolean holdUnholdLine(int lineId); |
Do unhold action when the specified line is on hold status.
And do hold action when the specified line is on unhold status.
Params:Return:boolean true or falseSupported Products:All |
public static boolean muteUnmuteLocal(int lineId); |
Do unmute action when the specified line's local is on mute status.
And do mute action when the specified line's local is on unmute status.
Params:Return:boolean true or falseSupported Products:All |
public static boolean muteUnmuteRemote(int lineId); |
Do unmute action when the specified line's remote is on mute status.
And do mute action when the specified line's remote is on unmute status.
Params:Return:boolean true or falseSupported Products:All |
public static boolean blockUnblockRemote(int lineId); |
Do unblock speaker action when the specified line's remote is on block status.
And do block action when the specified line's remote is on unblock status.
Params:Return:boolean true or falseSupported Products:All |
public static boolean transferBlind(int lineId, String number); |
Function:blind transfer to 3rd party and end current line directly.
Params: |
public static boolean transferAttended(int lineId, String number); |
Function:transfer current line to the 3rd party,will wait for 3rd party to accept the call.
Params: |
public static boolean transferAttendedCancel(int lineId); |
Function:cancel attended transfer when the 3rd party is not answering.
Params: |
public static boolean transferAttendedEnd(int lineId); |
Function:end attended transfer when the 3rd party answered the call.
Params: |
public static boolean transferSplit(); |
Function:spilt the two lines line when the 3rd party answered during attend transfer. |
public static boolean confAddLine(int lineId); |
Add one designated line to the conference.
Params:Return:boolean true/falseSupported Products:All |
public static boolean confAddLines(String lineIds); |
Add designated lines to the conference.
Params:Return:boolean true/falseSupported Products:All |
public static boolean sendDtmfManual(String key, boolean isDown); |
Function:send dtmf key down or up event,play dtmf tone.
Params:Return:true:success; false:failSupported Products:All |
public static boolean sendDtmfAuto(String dtmf); |
Function:send dtmf string automatically with fixed time interval and duration.
Params:Return:true:success; false:failSupported Products:All |
| Member | description |
|---|---|
public static final String API |
The tag name of BaseCallApi,which can used in {@link com.gs.common.client.ApiClient.Builder#addApi(String)}
Supported Products:All |